package com.design01_builder.pattern02_factory.factory_method.factory;

import com.design01_builder.pattern02_factory.simple_factory.service.DiscountFreeGoods;
import com.design01_builder.pattern02_factory.simple_factory.service.IFreeGoods;

/**
 * @ClassName DiscountFreeGoodsFactory
 * @Description TODO
 * @Author zhangjunhao
 * @DATE 2023/9/2 1:54
 */
public class DiscountFreeGoodsFactory implements FreeGoodsFactory {

    @Override
    public IFreeGoods getInstance() {
        return new DiscountFreeGoods();
    }

}
